package com.vasthu.api.dao;
import com.vasthu.api.domain.Item;
import java.util.*;
import java.sql.*;

public interface ItemDAO {

	public boolean insertItem(Connection con, Item item);

	public Item getItemById(Connection con, long itemId);
	
	public Item getItemByCode(Connection con, String itemName);
	
	public boolean deleteItemById(Connection con, long itemId);
    
    public List<Item> getAllItems(Connection con);
	
}